<?php //$control= Yii::app()->getController()->getId();?>
<div class="title_mod">
    <?php echo CHtml::link('
        <span class="mleft"></span>
        <span class="mcenter">Danh mục</span>',
        array('#'), array('title' => 'Danh mục')); ?>
</div>
<ul class="categories">
	<?php foreach($categories as $item):?>
	<li>
		<?php echo CHtml::link('<span>'.$item->name.'</span>',array('/clipcategory/view','id'=>$item->id),array('title'=>$item->name)); ?>
	</li>
	<?php endforeach;?>
</ul>